package com.company.cloud.acct.modules.api.constant;

import com.company.cloud.common.constant.BaseCodeEnum;

public enum AcctOpTypeEnum implements BaseCodeEnum {

    Add_Acct("1","账户金额新增"),
    Sub_Acct("2","账户金额扣减"),


    Sub_Force_Acct("3","账户金额强制调减(可负余额)"),

    Freeze_Acct("4","账户金额冻结"),
    Freeze_Sub_Acct("5","账户金额冻结扣减"),
    Freeze_Un_Acct("6","账户金额冻结解冻"),

    Add_Not_Acct("7","未达账金额新增"),
    Sub_Not_Acct("8","未达账金额扣减"),

    NotAcct_To_Acct("9","未达账金额转账户金额"),
    Acct_To_NotAcct("10","账户金额转未达账金额"),

    ;

    private String code;
    private String msg;
    private AcctOpTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
